<?php
/**
 * Created by PhpStorm.
 * User: dell
 * Date: 2017/5/10
 * Time: 11:59
 */

namespace Home\Exception;


use Common\Common\CommonException;

class HomeException extends CommonException
{
    protected $error = array(
        '10000' => '未知错误',
        '10001' => '缺少必要参数',
        '10002' => '参数值不符合规定的数据类型',
        '10003' => '参数值不在规定的数据范围内',
        '10011' => '系统数据发生错误',
        '30001' => '添加报名信息失败',
        '30002' => '找不到该活动',
        '30003' => '添加投票记录失败',
        '30004' => '添加授权信息失败',
        '30005' => '添加报名人投票数失败',
        '30006' => '找不到活动时间',
        '30007' => '投票还没开始',
        '30008' => '投票已经结束',
        '30009' => '报名还没开始',
        '30010' => '报名已经结束',
        '30011' => '找不到用户信息',
        '30012' => '今日的投票次数已超限，明天再来吧',
        '30013' => '获取weixin_id失败',
        '30014' => '获取用户nickname、headimgurl失败',
        '30015' => '获取用户关注公众号状态失败',
        '30016' => '用户未关注公众号',
        '30017' => '获取投票人数失败',
    );
}